use std::collections::HashSet;

pub fn new_count_distinct(input_str: &str) -> usize {
    let mut s = HashSet::new();
    for item in input_str.split(',')
    {
        s.insert(item.trim());
    }
    return s.len();
}